<?php 
header('Content-Type: application/json');
require "global_conn.php";
$rs = callProcedure("SELECT * FROM geos ORDER BY area_id ASC");
$data = array();
foreach($rs as $key=>$value){
	$data[$value['area_id']][] = $value;
	
}

echo @json_encode($data);


?>